body {
    background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    font-family: sans-serif;
    padding: 20px;
}

.menu {
    /* 适应不同宽度的设备 始终为宽度的80% */
    width: 80%;
    /* 防止宽屏设备过长 最大宽度为500 */
    max-width: 500px;
    background-color: burlywood;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, p {
    text-align: center;
}

h1, h2 {
    /* 设置字体 */
    font-family: Impact, serif;
}

h1 {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

img {
    /* 变为块级元素 独占一行 */
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: -20px;
}

.established {
    font-style: italic;
}

hr {
    height: 2px;
    background-color: brown;
    border-color: brown;
}

.item p {
    display: inline-block;
    font-size: 18px;
    margin: 5px 0;
}

.flavor {
    text-align: left;
    width: 70%;
}

.price {
    text-align: right;
    width: 30%;
}

a {
    color: black;
}

a:hover {
    color: red;
}
